<template>
    <view>
                    <view>
                        <video id="myVideo" src="rtmp://122.51.141.95:1935/hls/32"></video>
                    </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                webviewStyles: {
                    progress: {
                        color: '#FF3333'
                    }
                },
				webUrl:'https://huoyuchuan.xyz:81/test.html'
            }
        },
		onLoad(option) {
			if (option.params) {
				var users = JSON.parse(decodeURIComponent(option.params));
				console.log(users, 'params');
				this.webUrl+=`#${users.id}#${users.friendId}`;
			}
		},
    }
</script>

<style>

</style>